﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace May_26_2021
{
    class Animals
    {
        private string animal;

        public string Animal { get => animal; set => animal = value; }

        public Animals(string animal)
        {
            this.Animal = animal;
        }
        public Animals() { }
        public void Eat()
        {
            Console.WriteLine("{0}正在吃",this.Animal);
        }
    }
}
